-
Notifications
You must be signed in to change notification settings - Fork 13
Add JAX-RS 2 client body capture #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
| .getAttributes() | ||
| .get(HypertraceSemanticAttributes.httpResponseHeader("test-response-header"))); | ||
| Assertions.assertEquals( | ||
| "{key1=[value1], key2=[value2]}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davexroth this is the attribute value for the request body with URL encoded content type. Should it be captured in some other form e.g. foo=bar&baz=bar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to foo=bar&baz=bar that is supported by the platform.
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
| return entity; | ||
| } | ||
|
|
||
| if (currentSpan.isRecording()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another example when client span is finished before the response entity is available. Related to hypertrace/hypertrace-ingester#81
Signed-off-by: Pavol Loffay p.loffay@gmail.com